package com.example.canteen.domain;

import java.util.List;

public class Canteen {
    private int id;
    private String location;
    private String statement;
    private int sid;

    public int getSid() {
        return sid;
    }

    public void setSid(int sid) {
        this.sid = sid;
    }

    private CanteenStatement canteenStatement;
    private List<CException> cExceptions;

    @Override
    public String toString() {
        return "Canteen{" +
                "id=" + id +
                ", location='" + location + '\'' +
                ", statement='" + statement + '\'' +
                ", canteenStatement=" + canteenStatement +
                ", cExceptions=" + cExceptions +
                '}';
    }

    public CanteenStatement getCanteenStatement() {
        return canteenStatement;
    }

    public void setCanteenStatement(CanteenStatement canteenStatement) {
        this.canteenStatement = canteenStatement;
    }

    public List<CException> getcExceptions() {
        return cExceptions;
    }

    public void setcExceptions(List<CException> cExceptions) {
        this.cExceptions = cExceptions;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public String getStatement() {
        return statement;
    }

    public void setStatement(String statement) {
        this.statement = statement;
    }
}
